using SqlSugar;

namespace ByteSite.Entitys
{
    /// <summary>
    /// 管理员信息表
    /// </summary>
    public class dt_manager
    {
        /// <summary>
        /// 管理员信息表
        /// </summary>
        public dt_manager()
        {
        }

        /// <summary>
        /// 自增ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public System.Int32 id { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
        public System.Int32? role_id { get; set; }

        /// <summary>
        /// 管理员类型1超管2系管
        /// </summary>
        public System.Int32? role_type { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public System.String user_name { get; set; }

        /// <summary>
        /// 登录密码
        /// </summary>
        public System.String password { get; set; }

        /// <summary>
        /// 6位随机字符串,加密用到
        /// </summary>
        public System.String salt { get; set; }

        /// <summary>
        /// 管理员头像
        /// </summary>
        public System.String avatar { get; set; }

        /// <summary>
        /// 用户昵称
        /// </summary>
        public System.String real_name { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public System.String telephone { get; set; }

        /// <summary>
        /// 电子邮箱
        /// </summary>
        public System.String email { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? is_audit { get; set; }

        /// <summary>
        /// 是否锁定
        /// </summary>
        public System.Int32? is_lock { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        [Newtonsoft.Json.JsonConverter(typeof(Common.TcDateTimeConverter))]
        public System.DateTime? add_time { get; set; }
    }
}